<?php
class IndexAction extends Action {
    public function index(){
        if (isLogin()) {
            $this->display();
        } else {
            $this->display('User:login');
        }
    }
}
